Integrand size = 37, antiderivative size = 241 \[ \int \frac {(d+e x)^4}{\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}} \, dx=-\frac {2 (d+e x)^3}{c d \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}+\frac {15 e \left (c d^2-a e^2\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{4 c^3 d^3}+\frac {5 e (d+e x) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{2 c^2 d^2}+\frac {15 \sqrt {e} \left (c d^2-a e^2\right )^2 \text {arctanh}\left (\frac {c d^2+a e^2+2 c d e x}{2 \sqrt {c} \sqrt {d} \sqrt {e} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\right )}{8 c^{7/2} d^{7/2}} \]
15/8*(-a*e^2+c*d^2)^2*arctanh(1/2*(2*c*d*e*x+a*e^2+c*d^2)/c^(1/2)/d^(1/2)/ e^(1/2)/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2))*e^(1/2)/c^(7/2)/d^(7/2)-2 *(e*x+d)^3/c/d/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2)+15/4*e*(-a*e^2+c*d^ 2)*(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2)/c^3/d^3+5/2*e*(e*x+d)*(a*d*e+(a *e^2+c*d^2)*x+c*d*e*x^2)^(1/2)/c^2/d^2
Time = 0.37 (sec) , antiderivative size = 180, normalized size of antiderivative = 0.75 \[ \int \frac {(d+e x)^4}{\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}} \, dx=\frac {-\sqrt {c} \sqrt {d} (d+e x) \left (15 a^2 e^4+5 a c d e^2 (-5 d+e x)+c^2 d^2 \left (8 d^2-9 d e x-2 e^2 x^2\right )\right )+15 \sqrt {e} \left (c d^2-a e^2\right )^2 \sqrt {a e+c d x} \sqrt {d+e x} \text {arctanh}\left (\frac {\sqrt {c} \sqrt {d} \sqrt {d+e x}}{\sqrt {e} \sqrt {a e+c d x}}\right )}{4 c^{7/2} d^{7/2} \sqrt {(a e+c d x) (d+e x)}} \]
(-(Sqrt[c]*Sqrt[d]*(d + e*x)*(15*a^2*e^4 + 5*a*c*d*e^2*(-5*d + e*x) + c^2* d^2*(8*d^2 - 9*d*e*x - 2*e^2*x^2))) + 15*Sqrt[e]*(c*d^2 - a*e^2)^2*Sqrt[a* e + c*d*x]*Sqrt[d + e*x]*ArcTanh[(Sqrt[c]*Sqrt[d]*Sqrt[d + e*x])/(Sqrt[e]* Sqrt[a*e + c*d*x])])/(4*c^(7/2)*d^(7/2)*Sqrt[(a*e + c*d*x)*(d + e*x)])
Time = 0.54 (sec) , antiderivative size = 257, normalized size of antiderivative = 1.07, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.162, Rules used = {1124, 2192, 27, 1160, 1092, 219}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {(d+e x)^4}{\left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^{3/2}} \, dx\) |
\(\Big \downarrow \) 1124 |
\(\displaystyle \frac {\int \frac {c^2 d^2 x^2 e^4+c d \left (3 c d^2-a e^2\right ) x e^3+\left (3 c^2 d^4-3 a c e^2 d^2+a^2 e^4\right ) e^2}{\sqrt {c d e x^2+\left (c d^2+a e^2\right ) x+a d e}}dx}{c^3 d^3 e}-\frac {2 (d+e x) \left (c d^2-a e^2\right )^2}{c^3 d^3 \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}\) |
\(\Big \downarrow \) 2192 |
\(\displaystyle \frac {\frac {\int \frac {c d e^3 \left (2 \left (3 c d^2-2 a e^2\right ) \left (2 c d^2-a e^2\right )+c d e \left (9 c d^2-7 a e^2\right ) x\right )}{2 \sqrt {c d e x^2+\left (c d^2+a e^2\right ) x+a d e}}dx}{2 c d e}+\frac {1}{2} c d e^3 x \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{c^3 d^3 e}-\frac {2 (d+e x) \left (c d^2-a e^2\right )^2}{c^3 d^3 \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\frac {1}{4} e^2 \int \frac {2 \left (3 c d^2-2 a e^2\right ) \left (2 c d^2-a e^2\right )+c d e \left (9 c d^2-7 a e^2\right ) x}{\sqrt {c d e x^2+\left (c d^2+a e^2\right ) x+a d e}}dx+\frac {1}{2} c d e^3 x \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{c^3 d^3 e}-\frac {2 (d+e x) \left (c d^2-a e^2\right )^2}{c^3 d^3 \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}\) |
\(\Big \downarrow \) 1160 |
\(\displaystyle \frac {\frac {1}{4} e^2 \left (\frac {15}{2} \left (c d^2-a e^2\right )^2 \int \frac {1}{\sqrt {c d e x^2+\left (c d^2+a e^2\right ) x+a d e}}dx+\left (9 c d^2-7 a e^2\right ) \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}\right )+\frac {1}{2} c d e^3 x \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{c^3 d^3 e}-\frac {2 (d+e x) \left (c d^2-a e^2\right )^2}{c^3 d^3 \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}\) |
\(\Big \downarrow \) 1092 |
\(\displaystyle \frac {\frac {1}{4} e^2 \left (15 \left (c d^2-a e^2\right )^2 \int \frac {1}{4 c d e-\frac {\left (c d^2+2 c e x d+a e^2\right )^2}{c d e x^2+\left (c d^2+a e^2\right ) x+a d e}}d\frac {c d^2+2 c e x d+a e^2}{\sqrt {c d e x^2+\left (c d^2+a e^2\right ) x+a d e}}+\left (9 c d^2-7 a e^2\right ) \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}\right )+\frac {1}{2} c d e^3 x \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{c^3 d^3 e}-\frac {2 (d+e x) \left (c d^2-a e^2\right )^2}{c^3 d^3 \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}\) |
\(\Big \downarrow \) 219 |
\(\displaystyle \frac {\frac {1}{4} e^2 \left (\frac {15 \left (c d^2-a e^2\right )^2 \text {arctanh}\left (\frac {a e^2+c d^2+2 c d e x}{2 \sqrt {c} \sqrt {d} \sqrt {e} \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}\right )}{2 \sqrt {c} \sqrt {d} \sqrt {e}}+\left (9 c d^2-7 a e^2\right ) \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}\right )+\frac {1}{2} c d e^3 x \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{c^3 d^3 e}-\frac {2 (d+e x) \left (c d^2-a e^2\right )^2}{c^3 d^3 \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}\) |
(-2*(c*d^2 - a*e^2)^2*(d + e*x))/(c^3*d^3*Sqrt[a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2]) + ((c*d*e^3*x*Sqrt[a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2])/2 + (e^2*((9*c*d^2 - 7*a*e^2)*Sqrt[a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2] + (15*(c*d^2 - a*e^2)^2*ArcTanh[(c*d^2 + a*e^2 + 2*c*d*e*x)/(2*Sqrt[c]*Sqrt[ d]*Sqrt[e]*Sqrt[a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2])])/(2*Sqrt[c]*Sqrt[ d]*Sqrt[e])))/4)/(c^3*d^3*e)
3.20.55.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt Q[a, 0] || LtQ[b, 0])
Int[1/Sqrt[(a_) + (b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Simp[2 Subst[I nt[1/(4*c - x^2), x], x, (b + 2*c*x)/Sqrt[a + b*x + c*x^2]], x] /; FreeQ[{a , b, c}, x]
Int[((d_.) + (e_.)*(x_))^(m_.)/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(3/2), x _Symbol] :> Simp[-2*e*(2*c*d - b*e)^(m - 2)*((d + e*x)/(c^(m - 1)*Sqrt[a + b*x + c*x^2])), x] + Simp[e^2/c^(m - 1) Int[(1/Sqrt[a + b*x + c*x^2])*Exp andToSum[((2*c*d - b*e)^(m - 1) - c^(m - 1)*(d + e*x)^(m - 1))/(c*d - b*e - c*e*x), x], x], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[c*d^2 - b*d*e + a*e ^2, 0] && IGtQ[m, 0]
Int[((d_.) + (e_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol ] :> Simp[e*((a + b*x + c*x^2)^(p + 1)/(2*c*(p + 1))), x] + Simp[(2*c*d - b *e)/(2*c) Int[(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, p}, x] && NeQ[p, -1]
Int[(Pq_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> With[{q = Expon[Pq, x], e = Coeff[Pq, x, Expon[Pq, x]]}, Simp[e*x^(q - 1)*((a + b*x + c*x^2)^(p + 1)/(c*(q + 2*p + 1))), x] + Simp[1/(c*(q + 2*p + 1)) Int[(a + b*x + c*x^2)^p*ExpandToSum[c*(q + 2*p + 1)*Pq - a*e*(q - 1)*x^(q - 2) - b *e*(q + p)*x^(q - 1) - c*e*(q + 2*p + 1)*x^q, x], x], x]] /; FreeQ[{a, b, c , p}, x] && PolyQ[Pq, x] && NeQ[b^2 - 4*a*c, 0] && !LeQ[p, -1]
Leaf count of result is larger than twice the leaf count of optimal. \(1769\) vs. \(2(213)=426\).
Time = 2.90 (sec) , antiderivative size = 1770, normalized size of antiderivative = 7.34
2*d^4*(2*c*d*e*x+a*e^2+c*d^2)/(4*a*c*d^2*e^2-(a*e^2+c*d^2)^2)/(a*d*e+(a*e^ 2+c*d^2)*x+c*d*e*x^2)^(1/2)+e^4*(1/2*x^3/c/d/e/(a*d*e+(a*e^2+c*d^2)*x+c*d* e*x^2)^(1/2)-5/4*(a*e^2+c*d^2)/c/d/e*(x^2/c/d/e/(a*d*e+(a*e^2+c*d^2)*x+c*d *e*x^2)^(1/2)-3/2*(a*e^2+c*d^2)/c/d/e*(-x/c/d/e/(a*d*e+(a*e^2+c*d^2)*x+c*d *e*x^2)^(1/2)-1/2*(a*e^2+c*d^2)/c/d/e*(-1/c/d/e/(a*d*e+(a*e^2+c*d^2)*x+c*d *e*x^2)^(1/2)-(a*e^2+c*d^2)/c/d/e*(2*c*d*e*x+a*e^2+c*d^2)/(4*a*c*d^2*e^2-( a*e^2+c*d^2)^2)/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2))+1/c/d/e*ln((1/2*e ^2*a+1/2*c*d^2+x*c*d*e)/(c*d*e)^(1/2)+(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1 /2))/(c*d*e)^(1/2))-2*a/c*(-1/c/d/e/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2 )-(a*e^2+c*d^2)/c/d/e*(2*c*d*e*x+a*e^2+c*d^2)/(4*a*c*d^2*e^2-(a*e^2+c*d^2) ^2)/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2)))-3/2*a/c*(-x/c/d/e/(a*d*e+(a* e^2+c*d^2)*x+c*d*e*x^2)^(1/2)-1/2*(a*e^2+c*d^2)/c/d/e*(-1/c/d/e/(a*d*e+(a* e^2+c*d^2)*x+c*d*e*x^2)^(1/2)-(a*e^2+c*d^2)/c/d/e*(2*c*d*e*x+a*e^2+c*d^2)/ (4*a*c*d^2*e^2-(a*e^2+c*d^2)^2)/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2))+1 /c/d/e*ln((1/2*e^2*a+1/2*c*d^2+x*c*d*e)/(c*d*e)^(1/2)+(a*d*e+(a*e^2+c*d^2) *x+c*d*e*x^2)^(1/2))/(c*d*e)^(1/2)))+4*d*e^3*(x^2/c/d/e/(a*d*e+(a*e^2+c*d^ 2)*x+c*d*e*x^2)^(1/2)-3/2*(a*e^2+c*d^2)/c/d/e*(-x/c/d/e/(a*d*e+(a*e^2+c*d^ 2)*x+c*d*e*x^2)^(1/2)-1/2*(a*e^2+c*d^2)/c/d/e*(-1/c/d/e/(a*d*e+(a*e^2+c*d^ 2)*x+c*d*e*x^2)^(1/2)-(a*e^2+c*d^2)/c/d/e*(2*c*d*e*x+a*e^2+c*d^2)/(4*a*c*d ^2*e^2-(a*e^2+c*d^2)^2)/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2))+1/c/d/...
Time = 0.69 (sec) , antiderivative size = 585, normalized size of antiderivative = 2.43 \[ \int \frac {(d+e x)^4}{\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}} \, dx=\left [\frac {15 \, {\left (a c^{2} d^{4} e - 2 \, a^{2} c d^{2} e^{3} + a^{3} e^{5} + {\left (c^{3} d^{5} - 2 \, a c^{2} d^{3} e^{2} + a^{2} c d e^{4}\right )} x\right )} \sqrt {\frac {e}{c d}} \log \left (8 \, c^{2} d^{2} e^{2} x^{2} + c^{2} d^{4} + 6 \, a c d^{2} e^{2} + a^{2} e^{4} + 8 \, {\left (c^{2} d^{3} e + a c d e^{3}\right )} x + 4 \, {\left (2 \, c^{2} d^{2} e x + c^{2} d^{3} + a c d e^{2}\right )} \sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x} \sqrt {\frac {e}{c d}}\right ) + 4 \, {\left (2 \, c^{2} d^{2} e^{2} x^{2} - 8 \, c^{2} d^{4} + 25 \, a c d^{2} e^{2} - 15 \, a^{2} e^{4} + {\left (9 \, c^{2} d^{3} e - 5 \, a c d e^{3}\right )} x\right )} \sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x}}{16 \, {\left (c^{4} d^{4} x + a c^{3} d^{3} e\right )}}, -\frac {15 \, {\left (a c^{2} d^{4} e - 2 \, a^{2} c d^{2} e^{3} + a^{3} e^{5} + {\left (c^{3} d^{5} - 2 \, a c^{2} d^{3} e^{2} + a^{2} c d e^{4}\right )} x\right )} \sqrt {-\frac {e}{c d}} \arctan \left (\frac {\sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x} {\left (2 \, c d e x + c d^{2} + a e^{2}\right )} \sqrt {-\frac {e}{c d}}}{2 \, {\left (c d e^{2} x^{2} + a d e^{2} + {\left (c d^{2} e + a e^{3}\right )} x\right )}}\right ) - 2 \, {\left (2 \, c^{2} d^{2} e^{2} x^{2} - 8 \, c^{2} d^{4} + 25 \, a c d^{2} e^{2} - 15 \, a^{2} e^{4} + {\left (9 \, c^{2} d^{3} e - 5 \, a c d e^{3}\right )} x\right )} \sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x}}{8 \, {\left (c^{4} d^{4} x + a c^{3} d^{3} e\right )}}\right ] \]
[1/16*(15*(a*c^2*d^4*e - 2*a^2*c*d^2*e^3 + a^3*e^5 + (c^3*d^5 - 2*a*c^2*d^ 3*e^2 + a^2*c*d*e^4)*x)*sqrt(e/(c*d))*log(8*c^2*d^2*e^2*x^2 + c^2*d^4 + 6* a*c*d^2*e^2 + a^2*e^4 + 8*(c^2*d^3*e + a*c*d*e^3)*x + 4*(2*c^2*d^2*e*x + c ^2*d^3 + a*c*d*e^2)*sqrt(c*d*e*x^2 + a*d*e + (c*d^2 + a*e^2)*x)*sqrt(e/(c* d))) + 4*(2*c^2*d^2*e^2*x^2 - 8*c^2*d^4 + 25*a*c*d^2*e^2 - 15*a^2*e^4 + (9 *c^2*d^3*e - 5*a*c*d*e^3)*x)*sqrt(c*d*e*x^2 + a*d*e + (c*d^2 + a*e^2)*x))/ (c^4*d^4*x + a*c^3*d^3*e), -1/8*(15*(a*c^2*d^4*e - 2*a^2*c*d^2*e^3 + a^3*e ^5 + (c^3*d^5 - 2*a*c^2*d^3*e^2 + a^2*c*d*e^4)*x)*sqrt(-e/(c*d))*arctan(1/ 2*sqrt(c*d*e*x^2 + a*d*e + (c*d^2 + a*e^2)*x)*(2*c*d*e*x + c*d^2 + a*e^2)* sqrt(-e/(c*d))/(c*d*e^2*x^2 + a*d*e^2 + (c*d^2*e + a*e^3)*x)) - 2*(2*c^2*d ^2*e^2*x^2 - 8*c^2*d^4 + 25*a*c*d^2*e^2 - 15*a^2*e^4 + (9*c^2*d^3*e - 5*a* c*d*e^3)*x)*sqrt(c*d*e*x^2 + a*d*e + (c*d^2 + a*e^2)*x))/(c^4*d^4*x + a*c^ 3*d^3*e)]
\[ \int \frac {(d+e x)^4}{\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}} \, dx=\int \frac {\left (d + e x\right )^{4}}{\left (\left (d + e x\right ) \left (a e + c d x\right )\right )^{\frac {3}{2}}}\, dx \]
Exception generated. \[ \int \frac {(d+e x)^4}{\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}} \, dx=\text {Exception raised: ValueError} \]
Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'assume' command before evaluation *may* help (example of legal syntax is 'assume(a*e^2-c*d^2>0)', see `assume?` f or more de
Exception generated. \[ \int \frac {(d+e x)^4}{\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}} \, dx=\text {Exception raised: TypeError} \]
Exception raised: TypeError >> an error occurred running a Giac command:IN PUT:sage2:=int(sage0,sageVARx):;OUTPUT:Unable to divide, perhaps due to ro unding error%%%{%%{[%%%{8,[4,4,4]%%%},0]:[1,0,%%%{-1,[1,1,1]%%%}]%%},[2,2] %%%}+%%%{
Timed out. \[ \int \frac {(d+e x)^4}{\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}} \, dx=\int \frac {{\left (d+e\,x\right )}^4}{{\left (c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e\right )}^{3/2}} \,d x \]